package com.wedo.mall.activity;

import android.os.Bundle;

import com.e.library.activity.EActivity;
import com.wedo.mall.R;
import com.wedo.mall.activity.register.RegisterActivity;

import butterknife.OnClick;

/**
 * Created by lxy on 2017/6/10.
 */

public class LoginActivity extends EActivity {

    @Override
    protected int layout() {
        return R.layout.activity_login;
    }

    @Override
    protected void onActivityCreated(Bundle state) {

    }

    @OnClick(R.id.btn_register)
    protected void onRegisterClick(){
        toActivity(RegisterActivity.class);
    }

    @OnClick(R.id.btn_tourist)
    protected void onTouristClick(){
        toActivity(MainActivity.class);
        defaultFinish();
    }

    @OnClick(R.id.btn_forgot)
    protected void onForgotActivity(){
        toActivity(ForgotActivity.class);
    }
}
